package com.zhengjiang.mail.biz.service;

import java.util.Map;

public interface IMailService {

    void sendSimpleMail(String subject, String text) throws Exception;

    void sendHtmlMail(String subject, String text, Map<String, String> attachmentMap) throws Exception;

    void sendTemplateMail(String subject, Map<String, Object> params) throws Exception;
}
